package top.zsyle.sycc.mapper;

import org.apache.ibatis.annotations.Param;
import top.zsyle.sycc.domain.Course;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import top.zsyle.sycc.domain.Teacher;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhongshiyi
 * @since 2022-12-31
 */
public interface CourseMapper extends BaseMapper<Course> {

    void addMiddleTea(@Param("courseId") Long courseId,@Param("teacherIds") List<Long> teacherIds);

    List<Teacher> selectTeachersByCourseId(Long id);
}
